<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/circle/addcirclecate" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>

  <div class="page">
    <div class="page-hd">
    </div>
    <div class="form">
      <form action="{:URL('admin/Circle/doaddCircleCate')}" id="J_form" method="post" enctype="multipart/form-data">
        <dl class="kv">
          <if condition="isset($res)">
            <input type="hidden" value="{$res.cateid}" name="cateid" />
            <else />
            <input type="hidden" value="{$cateid}" name="cateid" />
          </if>
          <dt>
            <label>商圈分类中文名称：</label>
          </dt>
          <dd>
            <input class="input-text" type="text" name="znname" value="{$res.znname}" required/>
            <span class="required">*</span>
            <div class="kv-error"></div>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>商圈分类英文名称：</label>
          </dt>
          <dd>
            <input class="input-text" type="text" name="enname" value="{$res.enname}" />
              <span class="required">*</span>
              <div class="kv-error"></div>
          </dd>
        </dl>
        <div class="actions">
          <if condition="isset($res)">
            <input class="btn btn-y" type="submit" value="修改分类" />
            <else />
            <input class="btn btn-y" type="submit" value="新增分类" />
          </if>
          <a href="{:URL('admin/Circle/circlecatelist')}" class="btn btn-n">{$Think.lang.cancel}</a>
        </div>
      </form>
    </div>

  </div>
</body>

</html>
